#ifndef _HCC_ERROR_CODE_DRV_DEV_XCU_H_
#define _HCC_ERROR_CODE_DRV_DEV_XCU_H_

#include "ofc_types.h"
#include "hcc_error_code.h"
#include "hcc_error_code_drv.h"

#ifdef __cplusplus
extern "C" {
#endif

// 不含行号的错误码生成
#define HCC_MAKE_DRV_DEV_XCU_ERROR(error_code) (int)HCC_MAKE_DRIVER_ERROR(kHccDrvDevXcu, error_code, HCC_ERROR_LEVEL_ERROR)
// 含行号的错误码生成
#define HCC_MAKE_DRV_DEV_XCU_ERROR_LINE(error_code) (int)HCC_ERROR(HCC_MAKE_DRIVER_ERROR(kHccDrvDevXcu, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * DEV层 Xcu:DEV层 Xcu
 */
enum THccDrvDevXcuTag
{
	kHccDrvDevXcuSuccess	=	HCC_ERROR_SUCCESS,			///< 成功,没有错误
	kHccDrvDevXcuParam	=	HCC_MAKE_DRV_DEV_XCU_ERROR(0),			///<参数错误
	kHccDrvDevXcuOpened	=	HCC_MAKE_DRV_DEV_XCU_ERROR(1),			///<已打开
	kHccDrvDevXcuClosed	=	HCC_MAKE_DRV_DEV_XCU_ERROR(2),			///<已关闭
	kHccDrvDevXcuFail	=	HCC_MAKE_DRV_DEV_XCU_ERROR(3),			///<操作失败
};
typedef enum THccDrvDevXcuTag THccDrvDevXcu;


typedef Int32 THccDrvDevXcuLine;
#define kHccDrvDevXcuSuccessLine	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccDrvDevXcuParamLine	HCC_MAKE_DRV_DEV_XCU_ERROR_LINE(0)	///<参数错误
#define kHccDrvDevXcuOpenedLine	HCC_MAKE_DRV_DEV_XCU_ERROR_LINE(1)	///<已打开
#define kHccDrvDevXcuClosedLine	HCC_MAKE_DRV_DEV_XCU_ERROR_LINE(2)	///<已关闭
#define kHccDrvDevXcuFailLine	HCC_MAKE_DRV_DEV_XCU_ERROR_LINE(3)	///<操作失败

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_DRV_DEV_XCU_H_
/**
 * @
 */
